home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
C64
/
M-More Monthly Disks
/
(c)ma.d64
/
snoopy demo.c
(
.txt
)
< prev
Wrap
Commodore BASIC
|
2007-02-04
|
3KB
|
94 lines
1 REM J.L. SMITH 498 GUY TWO MOUNTAINS, QUEBEC: MARCH 1984
2 X=200 :Y=55:P=21:MM=175
3 PRINT"[147]"
5 FORI=1TO14*40:PRINT"[155] ";:NEXT
10 GOSUB2900
15 V=53248
20 POKE2040,13:POKE2041,14:POKE2042,15
30 FORI=0TO62:READQ:POKE832+I,Q:NEXT
31 FORI=0TO29 :POKE896+I,170:NEXT
32 FORI=30TO62 :POKE896+I,102 :NEXT
35 GOSUB1000
36 GOSUB8000
40 FORI=0TO62:READQ:POKE960+I,Q:NEXT
50 POKEV+21,7
55 POKEV+28,1:REM ON MULTI COL
56 POKEV+39,1:REM SET COL OF S#1
57 POKE53285,1:REM SET COL SCREEN
58 POKEV+37,1:REM SET AUX COL 1
59 POKEV+38,14 :REM SET AUX COL 2
60 POKEV+39,0:REM SET COL SPR
61 X=X-1: L=L-.1:IFX=0ANDE=0 THENX=255:E=7 :FORI=1TO500 :NEXT:Y=Y+20:P=42
62 MM=MM+ 5:IFMM>184THENMM=175
63 IFX=35ANDE=7THEN3080
64 GOSUB8000
65 POKEV,X :REM X
66 POKEV+2,X :REM X*2
70 POKEV+1,Y-X*.1:REM Y
71 POKEV+3,Y-X*.1+P :REM Y*2
75 TT=TT+1:IFTT=2THENGOSUB3000
76 IFTT=30 THENGOSUB3010
77 IFTT=60 THENGOSUB3020
78 IFTT=90 THENGOSUB3030
79 IFTT=120 THENGOSUB3040
80 POKEV+16,0
81 IFTT=200 THENGOSUB3050
84 POKEV+29,E:POKEV+23,E:REM EXPAND
100 DATA0,0,0,0,0,0,0,0,0,0,0,80
101 DATA0,5,84,0,89,84,1,85,90, 9 ,85,90
102 DATA0,85,104,0,1,84,0,0,80,0,0,160
103 DATA0,0,80,0,0,84,0,0,116,0,2,116
104 DATA3,3,116,3,129,244,3,85,84,3,85,84,170,170,170
105 DATA 0,0,2,0 ,170,3,10,170,184,10,42 ,168
106 DATA42,168,168,170,170, 42,10,160,170,170,170,170
107 DATA42,170,168,10,170,160,2,170,128,32,40,0
108 DATA 40,255,0,10,251,0, 2,175,0,0,255,0
109 DATA3,255, 0,3,255, 0,3,255, 0,0,20,0,0, 84,0
200 GOTO61
1000 POKE2041,14
1010 POKEV+21,2
1030 POKEV+28,2:REM ON MULTI COL
1040 POKEV+40,2:REM SET COL OF S#2
2000 RETURN
2900 GOSUB5000:PRINT"[166][166][166][166][158][218][218][218][218][218][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][161][166][166][166][166][166][166][166][166][166][166]";
2901 PRINT"[166][166][166][166][166] [221][221][221][221][221] [166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][161][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166]";
2902 PRINT"[166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][214][214][214][214][214][214][214][214][214][214][214][214][214]";
2903 PRINT"[166][166][166][214][166][166][166][166][166][166][166][166][166][166][214][166][166][166][166][166][166][166][214][166][166][166][166][166][166][166][166][166][166][166][166]V[166][166][166][166]"
3000 PRINT"[158]IS IT A BIRD? ":RETURN
3010 PRINT"[158]IS IT A PLANE? ":RETURN
3020 PRINT"[158]IT'S NOT SUPERMAN! ":RETURN
3030 PRINT"[158]IS IT THE RED BARRON? ":RETURN
3040 PRINT"[158]NO ITS SNOOPY! ":RETURN
3050 PRINT"[158]LOOK OUT HERE HE COMES AGAIN!!!!":RETURN
3080 PRINT"[158]GOOD GREEF! ":GOTO10000
5000 A$="":A1$=""
5001 PRINT""A$"[166][166][166][166][166][166]"A$"[166][166][166][166][166][166]"A$"[158] "A$" [166][166] "A$" "
5002 PRINT""A1$"[215][215]"
5003 PRINT""A1$"[215][215][215][215]"
5004 PRINT""A1$"[157][215][215][215][215][215][215]"
5005 PRINT""A1$"[157][157][215][215][215][215][215][215][215][215][215]"
5006 PRINT""A1$"[157][157][157][215][215][215][215][215][215][215][215][215][215][215]"
5007 PRINT""A1$"[149][166]"
5008 PRINT""A1$"[149][166]"
5009 PRINT""A1$"[149][166]"
5010 PRINT""A1$"[149][166]"
5012 PRINT""A1$"[149][166]"
5014 PRINT"[158][205][194][206]"
5015 PRINT"[158][195][209][195]"
5016 PRINT"[158][206][194][205]"
5999 RETURN
8000 POKEV+4,245+INT(RND(1)*5)
8010 POKEV+5,MM
8020 POKEV+41,10
8030 POKEV+28,7
8040 REMPOKEV+29,4
8050 REMPOKEV+23,4
8900 RETURN
10000 REM
10010 FORI=1TO20:NEXT
10030 POKEV+1,Y-X*.1+P:REM Y
10035 FORI=1TO10:NEXT
10040 POKEV,X+10 :REM X
10050 GOTO10050
60000 PP=PP+1:POKEV+41,PP:PRINTPP:INPUTA$:GOTO60000